Part Number Hot Search : 
MV54164 CM1506 S2GJF DS2175N SERIES GM7230 GL9A10EW MV54164
Product Description
Full Text Search
 

To Download HE84760B Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
- Table of Contents 1. 2. 3. 4. 5. 6. 7. 8. 9. 9.1. 9.2. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 21.1. 21.2. 21.3. 21.4. General Description ___________________________________________________________________3 Features _____________________________________________________________________________3 Functional Block Diagram ______________________________________________________________4 Pin Description _______________________________________________________________________4 Pad Location ________________________________________________________________________6 ROM Map Configurations ____________________________________________________________9 External RAM/Flash Memory__________________________________________________________11 LCD Display RAM Map ______________________________________________________________13 LCD driver configurations_____________________________________________________________14 4 Gray Scale LCD Display RAM Map _________________________________________________15 Black and White LCD Display RAM Map______________________________________________18 LCD Power Supply_________________________________________________________________19 LCDC Control register______________________________________________________________22 Oscillators ________________________________________________________________________23 General Purpose I/O _______________________________________________________________25 Timer1 ___________________________________________________________________________27 Timer2 ___________________________________________________________________________28 Time Base ________________________________________________________________________29 Watch Dog Timer __________________________________________________________________30 Voice Output ______________________________________________________________________30 Low Voltage Detection/Reset _________________________________________________________35 Infrared output____________________________________________________________________36 Universal Asynchronous Receiver/Transmitter__________________________________________37 Interface Registers _________________________________________________________________38 Baud Rate Configuration Register ____________________________________________________39 Interrupt & Identification Register ___________________________________________________40 Line Control Register_______________________________________________________________41
June 29, 2005
1
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
21.5. 22. 23. 24. 25. 26. 27. 28. 29.
HE84760B
HE80004 Series
Line Status Register ________________________________________________________________42 Extension Register Access ___________________________________________________________43 Summary of Registers and Mask Options ______________________________________________44 Absolute Maximum Rating __________________________________________________________47 Recommended Operating Conditions _________________________________________________47 AC/DC Characteristics _____________________________________________________________48 Application Circuit_________________________________________________________________49 Important Note ____________________________________________________________________51 Updated History ___________________________________________________________________51
June 29, 2005
2
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
1. General Description
HE84760B is a member of 8-bit Micro-controller series developed by King Billion Electronics. External address and data buses are provided to access external memory. This chip has 4096 pixel, 4 gray-scale LCD driver built-in with 2 different configurations, and up to 34-bit general purpose I/O ports. The built-in OP comparator can be used with light, voice, temperature and humility sensor or used to detect the battery low. The 7/8 bits current-type D/A converter and PWM driver output provides the complete speech output solutions. The 512K bytes ROM and 5K bytes RAM can be used for the storage of large speech data, image and text, etc. An UART is included to provide the serial communication capability. IR output makes it suitable for remote control applications. The instruction sets of HE80000 series is easy to learn and simple to use. There are only thirty-two instructions and four addressing modes. Most of instructions take only 3 oscillator clocks to complete. The performance and low power consumption make it suitable for battery-powered applications such as translator, data bank, educational toy, digital voice recorder, etc.
2. Features
2.4V ~ 3.6V Fast clock 32768 Hz ~ 8 MHz Slow clock 32768 Hz Four operation modes: Fast, Slow, Idle, Sleep modes. Internal Program ROM: 512K bytes Internal RAM: 5K bytes External memory buses to interface external Mask ROM, EPROM, NOR FLASH memory, etc. 22 ~ 34 bi-directional general-purpose I/O ports with push-pull or Open-Drain output type selectable for each I/O pin by mask option. Up to 4096 pixels 4 gray-scale or Black/White LCD driver. Segment extender interface with KD80 and KD83. 4 LCD configurations (COM X SEG): 32 COM x 96 SEG, 48 COM x 80 SEG, 64 COM x 64 SEG, 80 COM x 48 SEG. Built-in LCD power supply with regulator and 3, 4, and 5 times charge pump circuit. One 7/8-bit current-type D/A converter. One 7/8-bit PWM output. One built-in OP comparator. Built-in UART for serial communication. IR output. Low voltage reset:2.2V Low voltage detection:2.4V, 2.6V, 2.8V and 3.0V Two external interrupts, three internal timer interrupts and extension UART interrupt Watch dog timer to prevent deadlock condition. Two 16-bit timers and one time-base timer. Instruction set: 32 instructions, 4 addressing mode. Operation Voltage: Dual Clock System:
June 29, 2005
3
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 U1 SEG13/CS0 SEG12/CS1 SEG11/CS2 SEG10/CS3 PRT15[1] PRT15[0] PRT17[7] PRT17[6] PRT17[5] PRT17[4] PRT17[3] PRT17[2] PRT17[1] PRT17[0] COM31 COM30 COM29 COM28 COM27 COM26 COM25
COM[31..0] LVL1 LVL2 LVL3 LVL4 LVL5 LCAP4A
LVL[5..1], LGS1,LVREG LCAP?A, LCAP?B PRTC, PRTD, PRT10, PRT17 OLFR, OCCK SEGA, SEGD SEG COM SIN, SOUT
SEG14/WE SEG15/OE SEG16/A0 SEG17/A1 SEG18/A2 SEG19/A3 SEG20/A4 SEG21/A5 SEG22/A6 SEG23/A7 SEG24/A8 SEG25/A9 SEG26/A10 SEG27/A11 SEG28/A12 SEG29/A13 SEG30/A14 SEG31/A15 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171
4. Pin Description
3. Functional Block Diagram
June 29, 2005 LCD Driver I/O Port UART LCD Power Supply Segment Ext. Interface Ext. Memory Interface
SEG32/A16 SEG33/A17 SEG34/A18 SEG35/A19 SEG36/A20 SEG37/A21 SEG38/A22 SEG39/A23 SEG40/D0 SEG41/D1 SEG42/D2 SEG43/D3 SEG44/D4 SEG45/D5 SEG46/D6 SEG47/D7 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 HE84G763B
Pin Name
15 ~ 46 47 48 49 50 51 52
Pin # I/O
O P P P P P O
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COM0
TBI
TC2
TC1
LVR LVD
WDT
KING BILLION ELECTRONICS CO., LTD
LCD COMMON Driver pads. LCD Bias Voltage 1. LCD Bias Voltage 2 LCD Bias Voltage 3 LCD Bias Voltage 4 LCD Bias Voltage 5. Charge Pump Capacitor Pin
8 Bit CPU
512 KB ROM
5 KB RAM
4 IR OP Amp
IRO
CMSG59 CMSG58 CMSG57 CMSG56 CMSG55 CMSG54 CMSG53 CMSG52 CMSG51 CMSG50 CMSG49 CMSG48 CMSG47 CMSG46 CMSG45 CMSG44 CMSG43 CMSG42 CMSG41 CMSG40 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 CMSG79 CMSG78 CMSG77 CMSG76 CMSG75 CMSG74 CMSG73 CMSG72 CMSG71 CMSG70 CMSG69 CMSG68 CMSG67 CMSG66 CMSG65 CMSG64 CMSG63 CMSG62 CMSG61 CMSG60 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135
LVL1 LVL2 LVL3 LVL4 LVL5 LCAP4A LCAP2B LCAP2A LCAP1A LCAP1B LCAP3A LVREG LGS1 LVAG VDDA:P
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
Description
CMSG39 CMSG38 CMSG37 CMSG36 CMSG35 CMSG34 CMSG33 CMSG32 114 113 112 111 110 109 108 107
VSSA:G OAC OCCK GND:G OPO OPIP OPIN DAO VO RSTP_N FXO FXI TSTP_P SXO SXI VX VDD:P
Fast Clock OSC.
Slow Clock OSC
PWM
DAC
VO, DAO
PWM
SXI, SXO
FXI, FXO
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
PRT10[7] PRT10[6] PRT10[5] PRT10[4] PRT10[3] PRT10[2] PRT10[1] PRT10[0] PRTD[7] PRTD[6] PRTD[5] PRTD[4] PRTD[3] PRTD[2] PRTD[1] PRTD[0] PRTC[7]
OPO,OPIN, OPIP
GND_PWM PWM IRO VDD_RAM:P PRTC[0] PRTC[1] PRTC[2] PRTC[3] PRTC[4] PRTC[5] PRTC[6]
106 105 104 103 102 101 100 99 98 97 96
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84760B
HE80004 Series
V1.0
KING BILLION ELECTRONICS CO., LTD Pin Name
LCAP2B LCAP2A LCAP1A LCAP1B LCAP3A LVREG LGS1 LVAG VDD_LCD(VDDA) GND_LCD(VSSA) OAC OCCK GND OPO OPIP OPIN DAO VO RSTP_N FXO, FXI TSTP_P SXO, SXI VX VDD PRT10[7..0]
HE84760B
HE80004 Series
Pin # I/O
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72, 73 74 75, 76 77 78 79~86 O O O O O O I O P P O O P O I I O O I O, B I O, I I P B
Description
Charge Pump Capacitor Pin. Charge Pump Capacitor Pin. Charge Pump Capacitor Pin. Charge Pump Capacitor Pin. Charge Pump Capacitor Pin. Voltage Regulator Output. VDD is regulated to generate LVREG, which is in turns pumped to LVP. Adjust resistor between LGS1 and LVREG to set LVREG voltage. Regulator Voltage Setting Reference Voltage Output. Fixed 0.9 Volt DC reference voltage Power supply for LCD charge-pump. LCD power system ground. LCD frame signal for interfacing with LCD segment extender KD80. LCD data load pin for interfacing with LCD segment extender KD80. Power ground Input. Output of OP Amp. Non-inverting input of OP Amp. Inverting input of OP Amp. Alternate output of DAC. DAC Output. System Reset input pin. Level trigger, active low on this pin will put the chip in reset state. External fast clock pin. Two types of oscillator can be selected by MO_FXTAL (`0' for RC type and `1' for crystal type). For RC type oscillator, one resistor needs to be connected between FXI and GND. For crystal oscillator, one crystal needs to be placed between FXI and FXO. Please refer to application circuit for details. Test input pin. Please bond this pad and reserve a test point on PCB for debugging. But for improving ESD, please connect this point with zero Ohm resistor to GND. External slow clock pins. Slow clock is clock source for LCD display, TIMER1, Time-Base and other internal blocks. Both crystal and RC oscillator are provided. The slow clock type can be selected by mask option MO_SXTAL. Choose `0' for RC type and `1' for crystal oscillator. Input pin for x32 PLL circuit. Connect to external resistor and capacitors as shown in application circuit. Positive power Input. A 0.1 F decoupling capacitors should be placed as close to IC VDD and GND pads as possible for best decoupling effect. 8-bit bi-directional I/O port 10. The output type of I/O pad can also be selected by mask option MO_10PP[7..0] (`1' for push-pull and `0' for open-drain). As the output structure of I/O pad does not contain tri-state buffer. When using the I/O pad as input pad, "1" must be outputted before reading. 8-bit bi-directional I/O port D. The output type of I/O pad can also be selected by mask option MO_DPP[7..0] (`1' for push-pull and `0' for open-drain). As the output structure of I/O pad does not contain tri-state buffer. When using the I/O as input, `1' must be outputted before reading the pin. PRTD[7..2] can be used as wake-up pins. PRTD[7..6] can be as external interrupt sources. PRTD[1] shares pad with UART Receiver SIN pin. PRTD[0] shares pad with UART transmitter SOUT pin. 8-bit bi-directional I/O port C. The output type of I/O pad can also be selected by mask option MO_CPP[7..0] (`1' for push-pull and `0' for open-drain). As the output structure of I/O pad does not contain tri-state buffer. When using the I/O as input, `1' must be outputted before reading the pin. Dedicated power input for RAM The Infrared output. The PWM output can drive speaker or buzzer directly. Using VDD & PWM to drive output device. Dedicated Ground for PWM output. COM[32..79] pads are shared with SEG[95..48] outputs. The functions of the pads to be COM drivers or SEG drivers can be selected by mask option MO_COM[1..0]. Please
PRTD[7..2] PRTD[1]/SIN PRTD[0]/SOUT
87~94
B
PRTC[7:0] VDD_RAM IRO PWM GND_PWM CMSG[32..79]
95~102 103 104 105 106 107~15 4
B P O O P O
June 29, 2005
5
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD Pin Name
SEG[47..40]/D[7..0] SEG[39..16]/A[23..0] OE/SEG15
HE84760B
HE80004 Series
Pin # I/O
155~ 162 163~ 186 187 O O O
Description
refer to LCD driver configuration for details. LCD segment SEG[47..40] outputs share pads with data bus D[7..0] of external memory. LCD segment SEG[39..16] outputs share pads with address bus A[23..0] of external memory. Output Enable control of external memory shares pad with SEG[15]. The function of the pin is selected by mask option MO_EXMEM. When used as Output Enable control pin, this pin control the tri-state buffer of external memory data bus. Write Enable control of external memory shares pad with SEG[14]. The function of the pin is selected by mask option MO_ EXMEM. When used as Write Enable control pin, this pin controls Write Enable input of the external memory device. Chip Select 0 of external memory shares pad with SEG[13]. The function of the pin is selected by mask option MO_ EXMEM. When used as Chip Enable control pin, this pin select or de-select the external memory device based on the address been accessed. Chip Select 1 of external memory shares pad with SEG[12]. The function of the pin is selected by mask option MO_ EXMEM. When used as Chip Enable control pin, this pin select or de-select the external memory device based on the address been accessed. Chip Select 2 of external memory shares pad with SEG[11]. The function of the pin is selected by mask option MO_ EXMEM. When used as Chip Enable control pin, this pin select or de-select the external memory device based on the address been accessed. Chip Select 3 of external memory shares pad with SEG[10]. The function of the pin is selected by mask option MO_ EXMEM. When used as Chip Enable control pin, this pin select or de-select the external memory device based on the address been accessed. 2-bit bi-directional I/O port 15 is shared with LCD segment pads SEG[9..8]. The function of the pad can be selected individually by mask options MO_LIO15[1..0]. (`1' for LCD and `0' for I/O). The output type of I/O pad can also be selected by mask option MO_15PP[1..0] (1 for push-pull and `0' for open-drain). As the output structure of I/O pad does not contain tri-state buffer. When using the I/O as input, "1" must be outputted before reading. 8-bit bi-directional I/O port 17 is shared with LCD segment pads SEG[7..0]. The function of the pad can be selected individually by mask options MO_LIO17[7..0]. (`1' for LCD and `0' for I/O). The output type of I/O pad can also be selected by mask option MO_17PP[7..0] (1 for push-pull and `0' for open-drain). As the output structure of I/O pad does not contain tri-state buffer. When using the I/O as input, "1" must be outputted before reading.
WE/SEG14
188
O
CS0/SEG13
1
O
CS1/SEG12
2
O
CS2/SEG11
3
O
CS3/SEG10
4
O
PRT15[1..0]/SEG[9..8 ]
5~ 6
B/ O
PRT17[7..0]/SEG[7..0 ]
7~14
B/ O
I: Input, O: Output, B: Bidirectional, P: Power.
5. Pad Location
Pad No. 1 2 3 4 5 6 Pad Name SEG[13] SEG[12] SEG[11] SEG[10] PRT15[1] PRT15[0] X Coord. Y Coord. -4123.60 934.55 -4123.60 834.55 -4123.60 734.55 -4123.60 634.55 -4123.60 534.55 -4123.60 434.55 6 Pad No. 95 96 97 98 99 100 Pad Name PRTC[7] PRTC[6] PRTC[5] PRTC[4] PRTC[3] PRTC[2] X Coord. Y Coord. 3769.50 -1354.55 4122.00 -1126.45 4122.00 -1026.45 4122.00 -926.45 4122.00 -826.45 4122.00 -726.45 V1.0
June 29, 2005
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD Pad No. 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 Pad Name PRT17[7] PRT17[6] PRT17[5] PRT17[4] PRT17[3] PRT17[2] PRT17[1] PRT17[0] COM[31] COM[30] COM[29] COM[28] COM[27] COM[26] COM[25] COM[24] COM[23] COM[22] COM[21] COM[20] COM[19] COM[18] COM[17] COM[16] COM[15] COM[14] COM[13] COM[12] COM[11] COM[10] COM[9] COM[8] COM[7] COM[6] COM[5] COM[4] COM[3] COM[2] COM[1] COM[0] LVL1 LVL2 LVL3 LVL4 LVL5 LCAP4A LCAP2B X Coord. Y Coord. -4123.60 334.55 -4123.60 234.55 -4123.60 134.55 -4123.60 34.55 -4123.60 -65.45 -4123.60 -165.45 -4123.60 -265.45 -4123.60 -365.45 -4123.60 -465.45 -4123.60 -565.45 -4123.60 -665.45 -4123.60 -765.45 -4123.60 -865.45 -4123.60 -965.45 -3930.50 -1354.55 -3830.50 -1354.55 -3730.50 -1354.55 -3630.50 -1354.55 -3530.50 -1354.55 -3430.50 -1354.55 -3330.50 -1354.55 -3230.50 -1354.55 -3130.50 -1354.55 -3030.50 -1354.55 -2930.50 -1354.55 -2830.50 -1354.55 -2730.50 -1354.55 -2630.50 -1354.55 -2530.50 -1354.55 -2430.50 -1354.55 -2330.50 -1354.55 -2230.50 -1354.55 -2130.50 -1354.55 -2030.50 -1354.55 -1930.50 -1354.55 -1830.50 -1354.55 -1730.50 -1354.55 -1630.50 -1354.55 -1530.50 -1354.55 -1430.50 -1354.55 -1230.50 -1354.55 -1130.50 -1354.55 -1030.50 -1354.55 -930.50 -1354.55 -830.50 -1354.55 -730.50 -1354.55 -630.50 -1354.55 7 Pad No. 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
HE84760B
HE80004 Series
Pad Name X Coord. Y Coord. PRTC[1] 4122.00 -626.45 PRTC[0] 4122.00 -526.45 VDD_RAM 4122.00 -426.45 IRO 4122.00 -326.45 PWM 4122.00 -226.45 GND_PWM 4122.00 -126.45 CMSG[32] 4122.00 473.55 CMSG[33] 4122.00 573.55 CMSG[34] 4122.00 673.55 CMSG[35] 4122.00 773.55 CMSG[36] 4122.00 873.55 CMSG[37] 4122.00 973.55 CMSG[38] 4122.00 1073.55 CMSG[39] 4122.00 1173.55 CMSG[40] 3668.40 1354.05 CMSG[41] 3568.40 1354.05 CMSG[42] 3468.40 1354.05 CMSG[43] 3368.40 1354.05 CMSG[44] 3268.40 1354.05 CMSG[45] 3168.40 1354.05 CMSG[46] 3068.40 1354.05 CMSG[47] 2968.40 1354.05 CMSG[48] 2868.40 1354.05 CMSG[49] 2768.40 1354.05 CMSG[50] 2668.40 1354.05 CMSG[51] 2568.40 1354.05 CMSG[52] 2468.40 1354.05 CMSG[53] 2368.40 1354.05 CMSG[54] 2268.40 1354.05 CMSG[55] 2168.40 1354.05 CMSG[56] 2068.40 1354.05 CMSG[57] 1968.40 1354.05 CMSG[58] 1868.40 1354.05 CMSG[59] 1768.40 1354.05 CMSG[60] 1568.40 1354.05 CMSG[61] 1468.40 1354.05 CMSG[62] 1368.40 1354.05 CMSG[63] 1268.40 1354.05 CMSG[64] 1168.40 1354.05 CMSG[65] 1068.40 1354.05 CMSG[66] 968.40 1354.05 CMSG[67] 868.40 1354.05 CMSG[68] 768.40 1354.05 CMSG[69] 668.40 1354.05 CMSG[70] 568.40 1354.05 CMSG[71] 468.40 1354.05 CMSG[72] 368.40 1354.05 V1.0
June 29, 2005
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD Pad No. 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 Pad Name LCAP2A LCAP1A LCAP1B LCAP3A LVREG LGS1 LVAG VDDA VSSA OAC OCCK GND OPO OPIP OPIN DAO VO RSTP_N FXO FXI TSTP_P SXO SXI VX VDD PRT10[7] PRT10[6] PRT10[5] PRT10[4] PRT10[3] PRT10[2] PRT10[1] PRT10[0] PRTD[7] PRTD[6] PRTD[5] PRTD[4] PRTD[3] PRTD[2] PRTD[1] PRTD[0] X Coord. Y Coord. -530.50 -1354.55 -430.50 -1354.55 -330.50 -1354.55 -230.50 -1354.55 -130.50 -1354.55 -30.50 -1354.55 69.50 -1354.55 169.50 -1354.55 369.50 -1354.55 469.50 -1354.55 569.50 -1354.55 669.50 -1354.55 769.50 -1354.55 869.50 -1354.55 969.50 -1354.55 1069.50 -1354.55 1169.50 -1354.55 1269.50 -1354.55 1369.50 -1354.55 1469.50 -1354.55 1569.50 -1354.55 1669.50 -1354.55 1769.50 -1354.55 1869.50 -1354.55 1969.50 -1354.55 2169.50 -1354.55 2269.50 -1354.55 2369.50 -1354.55 2469.50 -1354.55 2569.50 -1354.55 2669.50 -1354.55 2769.50 -1354.55 2869.50 -1354.55 2969.50 -1354.55 3069.50 -1354.55 3169.50 -1354.55 3269.50 -1354.55 3369.50 -1354.55 3469.50 -1354.55 3569.50 -1354.55 3669.50 -1354.55 Pad No. 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 Pad Name CMSG[73] CMSG[74] CMSG[75] CMSG[76] CMSG[77] CMSG[78] CMSG[79] SEG[47] SEG[46] SEG[45] SEG[44] SEG[43] SEG[42] SEG[41] SEG[40] SEG[39] SEG[38] SEG[37] SEG[36] SEG[35] SEG[34] SEG[33] SEG[32] SEG[31] SEG[30] SEG[29] SEG[28] SEG[27] SEG[26] SEG[25] SEG[24] SEG[23] SEG[22] SEG[21] SEG[20] SEG[19] SEG[18] SEG[17] SEG[16] SEG[15] SEG[14]
HE84760B
HE80004 Series X Coord. Y Coord. 268.40 1354.05 168.40 1354.05 68.40 1354.05 -31.60 1354.05 -131.60 1354.05 -231.60 1354.05 -331.60 1354.05 -531.60 1354.05 -631.60 1354.05 -731.60 1354.05 -831.60 1354.05 -931.60 1354.05 -1031.60 1354.05 -1131.60 1354.05 -1231.60 1354.05 -1331.60 1354.05 -1431.60 1354.05 -1531.60 1354.05 -1631.60 1354.05 -1731.60 1354.05 -1831.60 1354.05 -1931.60 1354.05 -2031.60 1354.05 -2231.60 1354.05 -2331.60 1354.05 -2431.60 1354.05 -2531.60 1354.05 -2631.60 1354.05 -2731.60 1354.05 -2831.60 1354.05 -2931.60 1354.05 -3031.60 1354.05 -3131.60 1354.05 -3231.60 1354.05 -3331.60 1354.05 -3431.60 1354.05 -3531.60 1354.05 -3631.60 1354.05 -3731.60 1354.05 -3831.60 1354.05 -3931.60 1354.05
June 29, 2005
8
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
6. ROM Map Configurations
The chip has built-in 512K bytes internal ROM. In addition, address and data buses are provided to access External ROM. The MCU can access up to 4M bytes program ROM and up to 16M bytes data space through external buses. The SEG[47..40], SEG[39..16] pads are used as either data and address buses for external ROM or LCD segment driver pads depending on the mask option MO_EXMEM. When the external ROM mask option is selected, the MCU will retrieve the instructions and data from external ROM through the address and data buses. The bit 14 ~ 15 bit of 16-bit logical program address can be mapped to any one (16K bytes per page) of 256 pages through mapping registers PSA1, PSA2, PSA3. As logical page 0 can not be moved and is always physical page 0, the PSA1 ~ PSA3 contain the physical page addresses of logical pages 1 ~ 3. Logical Address A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Page Addr. A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 A[15..14] 00 01 10 11 Register Address PSA1 0x2C PSA2 0x2D PSA3 0x2E Type R/W R/W R/W Logical Page Physical Page Address 0 0 1 PSA1 2 PSA2 3 PSA3 Physical Address 00A[13..0] PSA1+A[13..0] PSA2+A[13..0] PSA3+A[13..0] Reset 0x01 0x02 0x03
A21 A21 A21
A20 A20 A20
A19 A19 A19
Bits Definition A18 A17 A18 A17 A18 A17
A16 A16 A16
A15 A15 A15
A14 A14 A14
June 29, 2005
9
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
There are four configurations for external memory as determined by mask option MO_PMODE. For example, when option 0 is selected, 512K bytes of internal ROM will occupy the address range from 0x000000 ~ 0x07FFFF of memory space, while CS1 controls external memory device whose address ranges from 0x200000 to 3FFFFF, etc. MO_ PMODE [1..0] Configuration 00 Option 0 01 Option 1 10 Option 2 11 Option 3
Address 000000 080000 100000 200000
Option0 Int. PROM (512KB) Unused CS0 CS1
Address 000000
Option1
Address 000000 080000
CS0
100000 200000
Option2 Int. PROM (512KB) Unused CS0 CS1
Address 000000
Option3 CS0
100000 2FFFFF 300000 380000
CS1 Int. PROM (512KB) Unused CS2
3FFFFF 400000
3FFFFF 400000
3FFFFF 400000
Unused CS2
400000
CS2
7FFFFF 800000 7FFFFF 800000
CS1
600000 7FFFFF 800000 7FFFFF 800000
CS3
FFFFFF FFFFFF
CS2
FFFFFF
CS3
FFFFFF
CS3
Legend:
Int. Program
Int. Data
Ext. Program
Ext. Data
June 29, 2005
10
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
A17 GND A20 A19 A10 DQ7 DQ6 DQ5 DQ4 VCCQ VCC NC DQ3 DQ2 DQ1 DQ0 OE GND CE A0 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 A17 A20 A19 A10 DQ7 DQ6 DQ5 DQ4
Ext. Bus Interface 8 MB EPROM SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40 SEG41 SEG42 SEG43 SEG44 SEG45 SEG46 SEG47 CS3 CS2 CS1 CS0 WE OE A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 A19 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 Q0 Q1 Q2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 A19 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 Q0 Q1 Q2 VSS VCC A18 A17 A14 A13 A8 A9 A11 OE/VPP A10 CE Q7 Q6 Q5 Q4 Q3 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 A18 A17 A14 A13 A8 A9 A11 A10 CS0 Q7 Q6 Q5 Q4 Q3
VDD
C89 0.1uF
A16 A15 A14 A13 A12 A11 A9 A8 WE
A18 A7 A6 A5 A4 A3 A2 A1
M27C801 16 MB EPROM A19 A18 A8 A7 A6 A5 A4 A3 A2 A1 CS1 DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 D0 Q1 Q2 Q3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 A18 A17 A7 A6 A5 A4 A3 A2 A1 A0 CE VSS OE Q0 Q8 Q1 Q9 Q2 Q10 Q3 Q11 M27C160 A19 A8 A9 A10 A11 A12 A13 A14 A15 A16 BY TE VSS Q15A-1 Q7 Q14 Q6 Q13 Q5 Q12 Q4 VCC 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 A20 A9 A10 A11 A12 A13 A14 A15 A16 A17 A0 Q7 Q6 Q5 Q4 VDD
Intel NOR FLASH 1 2 A16 3 A15 4 A14 5 A13 6 A12 7 A11 8 A9 9 A8 10 WE 11 RP 12 VPP 13 WP 14 A18 15 A7 16 A6 17 A5 18 A4 19 A3 20 A2 A1 28F320-TSOP
DQ3 DQ2 DQ1 DQ0 OE CE A0
512KB x 8 SRAM A11 A9 A8 A13 WE A17 A15 VDD A18 A16 A14 A12 A7 A6 A5 A4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 A11 A9 A8 A13 WE A17 A15 VCC A18 A16 A14 A12 A7 A6 A5 A4 LP62S4096-TSOP OE A10 CS1 IO7 IO6 IO5 IO4 IO3 GND IO2 IO1 IO0 A0 A1 A2 A3 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 OE A10 CS3 DQ7 DQ6 DQ5 DQ4 DQ3 DQ2 DQ1 DQ0 A0 A1 A2 A3
7. External RAM/Flash Memory
The external memory devices can be mask ROM, static RAM, or NOR type FLASH memory. Most NOR type FLASH memory and RAM can be used as external storage for both program and data, so program can be downloaded to external memory devices for future execution. However, there are some limitations. When the data is to be written to external devices, the loader must reside in internal program space. In other words, the loader program must be in internal ROM. When download is completed, the program in the external memory can be run. The data written to external memory devices is through a command interface composed of AC, EXMC and EXMD registers for setting up the memory addresses, switching memory buses, generating read/write pulse, read/write memory contents, etc. When writing finishes, external memory can be switched back the external address and data bus for CPU to fetch data and instructions. Writing to address registers is through a common register AC. Writing to AC will write data to ACL, ACH, and then ACP in cyclic order. The sequence will be reset by an access to EXMD register. Therefore, it is advisable to make a dummy read to EXMD register before writing to AC, so that the first write will be made to ACL.
June 29, 2005
11
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series Reset Value "--------" "--------" "--------"
AC ACL ACH ACP
Mode Description R/W Address Counter Low for AC7 ~ AC0 R/W Address Counter High for AC15 ~ AC8 R/W Address Counter Page for AC23 ~ AC16
ACL: Lowest Significant Byte of Address Counter. ACH: 2nd Byte of Address Counter. ACP: Most Significant Byte of Address Counter. Register EXMC Mode Description W Reset Value "-----011"
-
-
-
DNLD
RD
WR
DNLD: Switch the bus to download bus. RD: Read pulse control. WR: Write pulse control. After address setup, the data can be written to address device through EXMD register. Program must generate the required write pulse by firmware. The address counter AC will automatically increment with each read/write access. Register EXMD follows: 1. 2. 3. 4. 5. Switch the external memory to download bus by setting the DNLD bit of EXMC register. Make a dummy read to EXMD register to reset the AC pointer. Set up the address for transferring data by first writing to ACL, and then ACH and ACP with the first 3 writes to register. Start writing to addressed device by first writing 1 byte of data to EXMD register, clear WR bit of CMD register and set it again, the AC will increment with each write pulse. To read addressed device, clear RD bit of EXMC register, read EXMD register and set RD bit again. The AC will also increment with each read pulse. Read back for verification is optional. Please note that read back can also be made through external address and data bus when the bus is switched back to program bus. Switch back to normal bus for program execution and data access by clearing the DNLD bit of EXMC register. Type R/W D7 D6 D5 Description D4 D3 D2 D1 D0 Reset Value "--------"
The procedure for downloading data from I/O or any other sources, i.e. command mode ROM device is as
6.
Please note that NOR FLASH memory from different manufacturers such as Intel, AMD, SST, etc. requires various command sequence to set up. Programmer still needs to follow the respective specifications of the vendors. June 29, 2005 12 V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
8. LCD Display RAM Map
The gray-scale LCD driver can be configured to be a 4 gray-scales or black and white display by mask option MO_GRAY_MODE.
MO_GRAY_MODE[1..0] 00 01 10 11
Gray levels Not allowed 4 2 (B/W) 2 (B/W)
For 4 gray-scale display, 2-bit of RAM is required for each pixel and 1-bit for black and white display. For different LCD configuration, the LCD display RAM is arranged differently. The following figure shows one byte of RAM in different LCD configurations: 0F xx 0E xx 0D xx 0C xx 0B xx 0A xx 09 xx 08 xx 07 xx 06 xx 05 xx 04 xx 03 xx 02 xx 01 xx 00 xx
Black/White 4 Gray scales
Bit 7 Bit 6 SEG7 SEG6 SEG3
Bit 5 Bit 4 SEG5 SEG4 SEG2
Bit 3 Bit 2 SEG3 SEG2 SEG1
Bit 1 Bit 0 SEG1 SEG0 SEG0
The 4 Gray Scale register GRAY0 ~ GRAY3 is the mapping register between the levels selected in RAM and the real gray scale. In other words, if the content of GRAY0 is 0x03, when value of a certain pixel is 0, the displayed effect will correspond to actual gray level 3. The 4 gray scale display utilizes registers GRAY0 ~ GRAY3 to select among 32 gray levels to correspond to level 0 ~ 3. Thus user can pick the gray levels which give the best and most linear effect. 4 Gray Scale registers share a common register address GRAY16. When writing is made to the register, it will step down to next register in order. The writing sequence can be reset by clearing bit 5 of LCDC register.
GRAY16 Seq. 1 2 3 4 June 29, 2005
Bit4
Bit3
Field Bit2
GRAY0 GRAY1 GRAY2 GRAY3
Bit1
Bit0
Reset
0x00 0x02 0x04 0x06
13
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
9. LCD driver configurations
There are 4 LCD configurations selectable by mask option MO_COM[1..0] for this chip. The function of CMSG[79..64] in each configuration is listed in the following table. MO_COM[1..0] 00 01 10 11 Configuration COM x SEG 32 x 96 48 x 80 64 x 64 80 x 48
COMXSEG CMSG32 CMSG33 CMSG34 CMSG35 CMSG36 CMSG37 CMSG38 CMSG39 CMSG40 CMSG41 CMSG42 CMSG43 CMSG44 CMSG45 CMSG46 CMSG47 CMSG48 CMSG49 CMSG50 CMSG51 CMSG52 CMSG53 CMSG54 CMSG55 CMSG56 CMSG57 CMSG58 CMSG59 CMSG60 CMSG61 CMSG62 CMSG63 CMSG64 CMSG65 CMSG66 CMSG67 CMSG68 CMSG69 CMSG70 CMSG71 CMSG72 CMSG73 CMSG74 CMSG75 CMSG76 CMSG77 CMSG78 CMSG79
CMSG[79..64] Function SEG[48..63] SEG[48..63] SEG[48..63] COM[79..64]
32X96 SEG95 SEG94 SEG93 SEG92 SEG91 SEG90 SEG89 SEG88 SEG87 SEG86 SEG85 SEG84 SEG83 SEG82 SEG81 SEG80 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 48X80 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 64X64 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM48 COM49 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48
CMSG[63..48] Function SEG[64..79] SEG[64..79] COM[63..48] COM[63..48]
80X48 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM48 COM49 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COM64 COM65 COM66 COM67 COM68 COM69 COM70 COM71 COM72 COM73 COM74 COM75 COM76 COM77 COM78 COM79
CMSG[47..32] Function SEG[80..95] COM[47..32] COM[47..32] COM[47..32]
Since there are 2 LCD driver configurations available for selection by mask option, the RAM map of LCD drivers is listed below for all configurations. Any unused RAM as marked with `*' sign can be used as general purposed RAM by application programs
June 29, 2005
14
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
9.1. 4 Gray Scale LCD Display RAM Map
Page
1
2
3
4
Cnf Loc. 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40
32x96 F
S63 ~ S00 * * * * * * * * * * * * * * * * * * * * * * * * * * S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00
48x80 0 F
S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00
S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64
64x64 0 F
S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * * * * * * * * * * * * * * * * * * * * * * * * * *
80x48 0 F
* S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00
0 COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25 COM26
S79 ~ S64
S79 ~ S64
S79 ~ S64
S79 ~ S64
S79 ~ S64
S79 ~ S64
S79 ~ S64
S79 ~ S64
June 29, 2005
15
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
Cnf Loc. 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 32x96 F
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64 S63 ~ S00 S95 ~ S64
HE84760B
HE80004 Series
80x48 0
* S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00
48x80 0 F
* S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * *
S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64 S79 ~ S64
64x64 0
S79 ~ S64
Page
F
* S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00
0
F
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
S95 ~ S64
COM27 COM28 COM29 COM30 COM31 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM48 COM49 COM50 COM51 COM52 COM53 COM54
S79 ~ S64
S79 ~ S64
5
S79 ~ S64
S79 ~ S64
S79 ~ S64
6
S79 ~ S64
7
June 29, 2005
16
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
Cnf Loc. D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 32x96 F
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
HE84760B
HE80004 Series
80x48 0
* S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 * S47 ~ S00 *
48x80 0 F 0 F
64x64 0
* S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * S63 ~ S00 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Page
F
COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COM64 COM65 COM66 COM67 COM68 COM69 COM70 COM71 COM72 COM73 COM74 COM75 COM76 COM77 COM78 COM79
8
9
A
June 29, 2005
17
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
9.2. Black and White LCD Display RAM Map
Page
1
2
3
4
Cnf Loc. 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30
32x96 F
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 S95 ~ S00 *
48x80 0 F
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 S79 ~ S00 *
64x64 0 F
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
80x48 0 F
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
0
S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00
S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00
COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25 COM26 COM27 COM28 COM29 COM30 COM31 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM48 COM49 COM50 COM51
June 29, 2005
18
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
Cnf Loc. 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 32x96 F 0 F 48x80 0 F
* * * * * * * * * * * *
HE84760B
HE80004 Series
80x48 0
64x64 0
S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00 S63 ~ S00
Page
F
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00 S47 ~ S00
5
*
COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COM64 COM65 COM66 COM67 COM68 COM69 COM70 COM71 COM72 COM73 COM74 COM75 COM76 COM77 COM78 COM79
10. LCD Power Supply
The built-in LCD power supply is equipped with input voltage regulator, voltage multiplier and bias voltage generating circuit with active buffer instead of passive resistor voltage dividing network. If the external LCD power is provided, the internal LCD power system shall be disabled. The following table shows the relationship of the LCD power system LCDE(LCDC BIT0) 1 MO_PSMODE[1:0] 00 Function Internal voltage multiplier and Bias voltage generating circuit are enable to supply the LCD display power. Internal voltage multiplier is enabled, but the 1 01 Bias voltage generating circuit is disabled,and the external power sources are applied LV4~LV1.
June 29, 2005
19
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
Internal voltage multiplier is disabled, but the Bias voltage generating circuit is enabled. 1 10 The single external power is applied to LV5, and internal bias circuit will generate the LV4~LV1 voltages. Internal voltage multiplier and Bias voltage 1 11 generating circuit are disabled, and the external power sources are applied to LV5~LV1. 0 00 The lcd power system is disable,but the LV5~ LV1 is applied to VDD . The lcd power system is disable,but the LV5 0 01 is applied to VDD and LV4~LV1 is applied to hight impedance. The lcd power system is disable, LV5 is 0 10 applied to hight impedance,and the LV4~LV1 Applied to LV5. 0 11 The lcd power system is disable, LV5~LV1 is applied to hight impedance.
when the internal LCD power system is used by internal voltage multiplier . The input voltage is regulated to LVREG using the internally by resistor between LGS1 and LVREG generated LVAG as reference voltage. LVREG can be adjusted LVREG adjustment guideline: First, the level of VDD must be 0.3 volt higher than LVREG even at the end of battery life for the regulator to function properly. For example, if the VDD is expected to drop to 2.2 volts when battery is low, then the level of LVREG can only be set at 1.9 volts max. Secondly, the higher the level of LVREG, the less multiples it requires pumping LV5 to same level. For example, to pump the 2.25 volts to 9 volts requires 4 times multiplier; to pump the 3 volts to 9 volts requires only 3 time multiplier which consumes less power. So it is advisable not to adjust the LVREG to an unnecessary low level. Voltage multiplication: The LVREG is then multiplied by 3, 4, or 5 times, depending on external capacitors configurations as shown below, to generate LV5. Please note that LV5 must be lower than 8.5 volts to prevent chip from breaking down.
June 29, 2005
20
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
x5 multiplier
x3 multiplier 4.7uF 0.1uF 0.1uF 4.7uF 4.7uF LVL1 LVL2 LVL3 LVL4 LV5 LCAP4A LCAP2B 0.1uF 0.1uF LCAP2A LCAP1A LCAP1B LCAP3A 0.1uF R1 R2 LGS1 LVAG R2 LVREG
x4 multiplier 4.7uF 0.1uF 0.1uF 4.7uF 4.7uF LVL1 LVL2 LVL3 LVL4 LVL5 LCAP4A LCAP2B 0.1uF 0.1uF LCAP2A LCAP1A LCAP1B 0.1uF 0.1uF R1 LGS1 LVAG R2 LCAP3A LVREG
4.7uF 0.1uF 0.1uF 4.7uF 4.7uF 0.1uF
LVL1 LVL2 LVL3 LVL4 LVL5 LCAP4A LCAP2B
0.1uF 0.1uF
LCAP2A LCAP1A LCAP1B
0.1uF 0.1uF R1
LCAP3A LVREG LGS1 LVAG
0.1uF
0.1uF
0.1uF
GND_LCD
GND_LCD
GND_LCD
Different duties require different bias settings. There is some theoretical correspondence between the Duty and Bias Setting. However, it is better to use it as starting point and adjust it with real LCD panel connected to it to determine the final setting. The theoretic relationship between the duty and bias setting as following: Duty Cycle Normal Bias Alternative Bias 32 duty 1/7 1/7.5 48 duty 1/8 1/7.5, 1/8.5 64 duty 1/9 1/8.5, 1/9.5 80 duty 1/10 1/9.5, 1/10.5 The bias setting is made by mask option MO_LBSR[2..0]. MO_LBSR[2..0] 000 001 010 011 100 101 110 111 Bias Setting 1/7 1/7.5 1/8 1/8.5 1/9 1/9.5 1/10 1/5
June 29, 2005
21
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
11. LCDC Control register
LCD Control Register LCDC controls the functions of LCD driver. LCDC Field Mode Reset Field CLR_GP GRAY bit 7 Value 0 1 000
. . .
bit 6 -
bit 5 CLR_GP W 1
bit 4
bit 3 GRAY W xxx
bit 2
bit 1 BLANK W 1
bit 0 LCDE W 0
Function Reset GRAY palette register pointer by write `0' to CLR_GP bit. No effect on GRAY palette register pointer. LCD is darkest. LCD display contrast adjustment. LCD is lightest. Normal display. LCD display blanked. The COM signals of LCD driver output inactive levels (LVL4 and LVL1) while SEG signals output normal display patterns. LCD driver disabled, LCD driver has no output signal and applied to VDD LCD driver Enabled.
111 0 BLANK LCDE 1 0 1
Please note that LCD driver must be turned off before the system goes into "sleep" mode. That means user must clear the bit 0 of LCDC to turn off LCD driving circuit before setting bit6 of OP1 to enter sleep mode. Large current might happen if the procedure is not followed. Please note that LCD driver uses slow clock as clock source. The LCD display will not display normally if it works in Fast clock only mode because the LCD refresh action is too fast.
June 29, 2005
22
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
12. Oscillators
The MCU is equipped with two clock sources with a variety of selections on the types of oscillators to choose from. The system designer can select oscillator types based on the cost target, timing accuracy requirements etc. Crystal, Resonator or the RC oscillator can be used as fast clock source, components should be placed as close to the pins as possible. The type of oscillator used is selected by mask option MO_FXTAL. MO_FXTAL Fast clock type 0 RC Oscillator. 1 Crystal Oscillator.
FXI FXI
FXO
FXO
Crystal Osc.
RC Osc.
The RC oscillator has a built-in capacitor. An external resistor is needed to connect from FXI to GND to determine the oscillation frequency. The capacitance of internal RC oscillator is selected by mask option MO_RCAP[2..0]. MO_RCAP[2:0] 000 001 010 011 100 101 110 111 Internal RC Cap. (pF) 2 4 7 14 20 40 50 60
The following table shows the combinations of R and C, and the resulting frequency. Please note that oscillation frequency in the table only represents oscillation frequencies of certain samples. The actual oscillation frequency may vary up to 15% from lot to lot due to process parameter variations. User must take this into consideration when using this chip in applications.
June 29, 2005
23
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD Ring Oscillator Frequency Table
R (K) C (pF)
HE84760B
HE80004 Series
40 0.8 1.2 2.3
20 1.5 2.2 4.0
14 2.0 2.8 5.1
7 3.0 4.4 7.5
4 4.0 5.6 9.4
2 5.0 MHz 7.0 MHz 11.4 MHz
30.20 19.92 9.98
Two types of oscillator, crystal and RC, can be used as slow clock selectable by mask option MO_SXTAL. If used time keeping function or other applications that required the accurate timing, crystal oscillator is recommended. If the timing accuracy is not important, then RC type oscillator can be used to reduce cost. MO_SXTAL Slow clock type 0 R/C oscillator 1 Crystal oscillator
SXI SXI
SXO SXO Crystal Osc. RC Osc.
With two clock sources available, the system can switch among operation modes of Normal, Slow, Idle, and Sleep modes by the setting of OP1 and OP2 registers as shown in tables below to suit the needs of application such as high speed or low power, etc. OP1 Field Mode Reset OP2 Field Mode Reset Bit 7 DRDY R/W 1 Bit 7 IDLE R/W 0 Bit 6 STOP R/W 0 Bit 6 PNWK R Bit 5 SLOW R/W 0 Bit 5 TCWK R Bit 4 INTE R/W 0 Bit 4 TBE R/W 0 Bit 3 T2E R/W 0 Bit 3 W Bit 2 T1E R/W 0 Bit 1 Z R/W Bit 0 C R/W Bit 0 W -
Bit 2 Bit 1 TBS[3..0] W W -
If the dual clock mode is used, the LCD display, Timer1 and Timer Base will derive its clock source from slow clock while the other blocks will operate with the fast clock.
June 29, 2005
24
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
13. General Purpose I/O
There are three dedicated general purpose I/O port, PRTC, PRTD and PRT10, while PRT15[1..0] and PRT17 are multiplexed with LCD segment driver pins. All the I/O Ports are bi-directional and of nontri-state output structure. The output has weak sourcing (50 A) and stronger sinking (1 mA) capability and each can be configured as push-pull or open-drain output structure individually by mask option. When the I/O port is used as input, the weakly high sourcing can be used as weakly pull-up. Open drain can be used if the pull-up is not required and let the external driver to drive the pin. Please note that a floating pad could cause more power consumption since the noise could interfere with the circuit and cause the input to toggle. A `1' needs to be written to port first before reading the input data from the I/O pin. If the PMOS is used as pull-up, care should be taken to avoid the constant power drain by DC path between pull-up and external circuit. The input port has built-in Schmidt trigger to prevent it from chattering. The hysteresis level of Schmidt trigger is 1/3 VDD.
VDD VDD
DOUT
Q LATCH Q' MO_?PP
PAD
DIN SCHMIDT Trigger input
As pads of PRT15 and PRT17 are shared with LCD segment driver, the function of the pad is determined by mask options. Following table is the setting for MO_LIO?[...] and MO_?PP[...] and others related to LCD display setting and pin assignment features.
June 29, 2005
25
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
MO_LIO?[...] MO_?PP[...] I/O Port LCD Pin 0 0 Open-drain output -0 1 Push-pull output -1 0 -xx 1 1 -LCD Display --: Function not available. xx: Displayable, but may have abnormal leakage current, do not use.
June 29, 2005
26
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
14. Timer1
The Timer1 consists of two 8-bit write-only preload registers T1H and T1L and 16-bit down counter. If Timer1 is enabled, the counter will decrement by one with each incoming clock pulse. Timer1 interrupt will be generated when the counter underflows - counts down to FFFFH. And the counter will be automatically reloaded with the value of T1H and T1L. The clock source of Timer1 is derived from slow clock "SCK" at dual clock or slow clock only mode. And it comes from the fast clock "FCK" at fast clock only mode. Please note that the interrupt is generated when counter counts from 0000H to FFFFH. If the value of T1H and T1L is N, and count down to FFFFH, the total count is N+1. The content of counter is zero when system resets. Once it is enabled to count at this moment, interrupt will be generated immediately and value of T1H and T1L will be loaded since it counts to FFFFH. So the T1H and T1L value should be set before enabling Timer1.
Auto reload when Timer1 is underflow
The contents of T1H and T1L are almost loaded into Timer1 immediately when Timer1 is enabled after reset.
T1H
T1L
< Timer1 Counter > Decreases 1
No
Count To 0xFFFFh
Yes Timer1 Interrupt Request T1_INT
The Timer1 related control registers are list as below: Register Address Field Bit position Mode IER T1L T1H OP1 0x02 0x03 0x04 0x09 TC1_IER T1L[7:0] T1H[7:0] TC1E 2 7~0 7~0 2
Description 0: TC1 interrupt is disabled. (default) R/W 1: TC1 interrupt is enabled. W Low byte of TC1 pre-load value W High byte of TC1 pre-load value 0: TC1 is disabled. (default) R/W 1: TC1 is enabled.
June 29, 2005
27
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
15. Timer2
Timer2 is similar in structure to Timer1 except that clock source of Timer2 comes from the system clock "Fsys"/1.5. The system clock "Fsys" varies depending on the operation modes of the MCU. The Timer2 consists of two 8-bit write-only preload registers T2H and T2L and 16-bit down counter. If Timer2 is enabled, counter will decrement by one with each incoming clock pulse. Timer2 interrupt will be generated when the counter underflows - counts down to FFFFH. And it will be automatically reloaded with the value of T2H and T2L. Please note that the interrupt signal is generated when counter counts from 0000H to FFFFH. If the value of counter is N, and count down to FFFFH, the total count is N+1. The content of counter is zero when system resets. Once it is enabled to count at this time, the interrupt will be generated immediately and value of T2H and T2L will be loaded since the counter counts to FFFFH. So the T2H and T2L value should be set before enabling Timer2. The Timer2 related control registers are list as below: Register Address IER T2L T2H OP1 0x02 0x05 0x06 0x09 Field TC2_IER T2L[7:0] T2H[7:0] TC2E Bit position Mode 1 7~0 7~0 3 Description 0: TC2 interrupt is disabled. (default) R/W 1: TC2 interrupt is enabled. W Low byte of TC2 pre-load value W High byte of TC2 pre-load value 0: TC2 is disabled. (default) R/W 1: TC2 is enabled.
The contents of T2H and T2L are almost loaded into Timer2 immediately when Timer2 is enabled after reset.
T2H
T2L
Auto reload when Timer2 is underflow
< Timer2 Counter > Decreases 1
No
Count To 0xFFFFh
Timer2 Interrupt Request
Yes
T2_INT
June 29, 2005
28
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
16. Time Base
The TB timer is used to generate time-out interrupt at fixed period. The time-out frequency of TB is determined by dividing slow clock with a factor selected in OP2[3..0]. TBE (Time Base Enable) bit controls enable or disable of the circuit. OP2 Field Mode Reset Bit 7 IDLE R/W 0 Bit 6 PNWK R Bit 5 TCWK R Bit 4 TBE R/W 0 Bit 3 R/W Bit 2 Bit 1 TBS[3..0] R/W R/W Bit 0 R/W -
TBE Function 0 Disable Time Base 1 Enable Time Base For example, if the slow clock is 32768 Hz, then the interrupt frequency is as shown in following table. TBS[3..0] 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Interrupt Frequency 16.384 KHz 8.192 KHz 4.096 KHz 2.048 KHz 1.024 KHz 512 Hz 256 Hz 128 Hz 64 Hz 32 Hz 16 Hz 8 Hz 4 Hz 2 Hz 1 Hz 0.5 Hz
June 29, 2005
29
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
17. Watch Dog Timer
Watch Dog Timer (WDT) is designed to reset system automatically and prevents system dead lock caused by abnormal hardware activities or program execution. The WDT needs to be enabled in Mask Option. MO_WDTE 0 1 Function WDT disable WDT enable
Using the WDT function, the "CLRWDT" instruction needs to be executed in every possible program path when the program runs normally in order to clears the WDT counter before it overflows, so that the program can operate normally. When abnormal conditions happen to cause the MCU to divert from normal path, the WDT counter will not be cleared and reset signal will be generated to reset the system. The WDT clock source is the same as TC1 (Timer1 clock), and the WDT reset signal is generated when the counter had counted 32768 clock. The WDT can function in Normal, Slow and Idle Mode. However, WDT will not function during Sleep Mode (as the TC1 clock has stopped.)
18. Voice Output
There are 7 or 8 bits DAC/PWM voice output available for user. The 7 bits DAC/PWM output format and configuration are the same as the previous IC of HE80000 series. The 8 bits DAC/PWM format and configuration are new designed and controlled by the VOC and PWMC registers. The selection of 7/8 bits DAC/PWM output is by mask option MO_8BVOC. MO_8BVOC 0 1 Function 7-bit DAC/PWM output 8-bit DAC/PWM output
8-Bit DAC/PWM Output: The Digital-to-Analog converter converts the 8-bit unsigned speech data which is written into PWMC data register to proportional current output.
PWMC Field
address 0x0E
Reset --
bit 7 DA7
bit 6 DA6
bit 5 DA5
bit 4 DA4
bit 3 DA3
bit 2 DA2
bit 1 DA1
bit 0 DA0
June 29, 2005
30
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
There are two output paths for the DAC. Either VO or DAO can be selected as output port of DAC by VOC register when it is enabled. The VO output is primarily intended for speech generation, although it is not necessary so, while the DAO output path can be used in conjunction with built-in OP comparator to function as an Analog-to-Digital Converter as required in applications such as speech recording, speech recognition or sensor interfaces.
OPO OP + 1 PWMC[DATA] DAC 0 OPIP OPIN DAO VO R VOC[DAC] VOC[OP]
The DAC is enabled by DAC bit of VOC register. When DAC is enabled, the DAC output path can be selected to output to DAO or VO pin by OP bit of VOC register.
VOC Field Reset
address 0x13
Bit 7 -
Bit 6 Bit 5 Bit 4 PWM O/P driver 0 0 0 Name
Bit 3 PWME 0
Bit 2 PWM 0
Bit 1 DAC 0
Bit 0 OP 0
Value 1 VOC[3] PWME 0 1 VOC[2] PWM 0 1 VOC[1] DAC 0 1 VOC[0] OP 0
Bit
Function description PWM Output Driver Enable PWM Output Driver Disable PWM Module Enable PWM Module Disable Digital-to-Analog Converter Enable Digital-to-Analog Converter Disable DAC output to DAO pin DAC output to VO pin
The pulse-width modulator (PWM) converts 8-bit unsigned speech data which is written into PWMC data register to proportional duty cycle of PWM output. PWM module shares the same digital input register PWMC with Digit-to-Analog Converter. So PWM and DA output can exist at the same time. When PWM circuit is enabled, it generates signal with duty ratio in proportion to the value of PWMC register.
June 29, 2005
31
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
DA = 0x20
DA = 0x80
DA = 0xE0
1 subframe
PWMC Field VOC VOC Field Reset
address 0x0E address 0x13
bit 7 DA7 Bit 7 -
bit 6 DA6
bit 5 DA5
bit 4 DA4
bit 3 DA3 Bit 3 PWME 0
bit 2 DA2 Bit 2 PWM 0
bit 1 DA1 Bit 1 DAC 0
bit 0 DA0 Bit 0 OP 0
Bit 6 Bit 5 Bit 4 PWM O/P driver 0 0 0
The PWM bit of VOC controls the enable/disable of the PWM circuit and output driver. When PWM bit of VOC is `0', PWME bit and output drivers are both cleared. To use PWM as voice output, PWM bit has to be set to `1' first, then set PWME bit and enable output driver by setting the driver number. If PWM bit is disabled and enabled again, the setting for driver and PWME bit will be clear. The Fast Clock is gated through PWME bit of VOC register to provide the clock source of PWM circuit when it is enabled. As PWM needs higher frequency to operate, it cannot generate correct PWM signal in Slow clock only mode. When the program enters into sleep mode or idle mode, it will automatically turn off all voice outputs by clearing VOC[6:0] to "0000000". To activate voice output again when returning to normal mode, the VOC register needs to be set again. The PWM output volume can be adjusted by command register VOC[6..4]. The bit 6 and 5 control 2 time driver, while bit 4 controls 1 time driver, thus it has 5 levels of driver output. By turning on/off the internal drivers, the sound level of PWM output can be turned up and down. Please note that this adjustment apply only to PWM, but not DA output.
June 29, 2005
32
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
PWM output driver selection VOC[6..4] Number of Driver 000 off 001 1 010 2 011 3 100 2 101 3 110 4 111 5
7-Bit DAC/PWM Output: The 7-bit DAC/PWM voice generator is another scenario and the definitions of PWMC and VOC registers are different from the 8-bit DAC/PWM format. These register are described as following.
The 7-bit voice output is controlled by PWMC and VOC register, and the PWMC is a command/data register which is determined by PWMC[7] bit. PWMC register DA & PWM Data Control Bit 7 0 1 Bit 6 Bit 4 Bit 3 Bit 2 DA and PWM output value PWM O/P driver Reserved Bit 5 Bit 1 Bit 0 PWME
When users write data into the PWMC register, the PWMC[7] bit will determines the data written into PWM command register or 7-bit data register and the data register is also sent to the DA converter shown as the below diagram. The definitions of "PWME" bit and "PWM O/P driver" bits are the same as VOC register definition of 8-bit output mode.
VOC[2] PWMC[6..0] Register.write.strobe PWMC[7] Fast clock
_____ reset PWMC_REG[6..4] PWMC_REG[3..1]
PWM command register
CLK
PWM Driver
_____ reset cp
PWMP PWMN
PWMC _REG[0]
PWMC[6..0]
7 bit data register
PWM_O[6..0]
DAC
CLK
June 29, 2005
33
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
The fast clock is used to provide as PWM driver time base, and user shall set the PWMC[7]='1' and VOC[2]='1' to enable the PWM output. When the system enters into sleep or idle mode, it will automatically turn off the voice device by clearing VOC[2:0] to "000". In order to activate voice output again when the system returns and enter into normal mode, the related bits of VOC register need to be set again.
PWM Data=0x40h
Data=0x10h
Data=0x70h subframe
When the DAC is used as sound generator, the bias & filter circuit is used for bias voltage setting and waveform filter regulation and the DAC is output to the VO (Voice Output) pin and please see application notes for detailed calculation example and application. The driving capability of DAC is shown below. Condition VDD=3V;VO=0~2V;Data=7Fh Min. 2.5 Typ. 3 Max. Unit mA
VO/DAO
VDD
CPU
VO(DAO)
bias & filter circuit
SPEAKER
The VOC is a three bit voice control register in the 7-bit mode. VOC address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Field 0x13 PWM Reset 0 PWM: `1' PWM output enabled; `0' PWM output disabled. DAC: `1' DAC enabled; `0' DAC disabled. OP: `1' DAC uses DAO pin as output pin; `0' DAC uses VO pin as output pin. Bit 1 DAC 0 Bit 0 OP 0
June 29, 2005
34
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
19. Low Voltage Detection/Reset
The low voltage detection is used to detect low battery or low power condition. There are 4 options on the detection level selectable by mask option MO_DLVL. The low voltage detection circuit can be turned off by clearing LVDE bit, and the status of supply power can be read out at bit LVDO of LVDC register (extension register 0x17h). MO_DLVL 00 01 10 11 Detection voltage 2.4 volts 2.6 volts 2.8 volts 3.0 volts
LVDC Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Field LVDO LVDE Mode R W Reset 0 LVDO: `0' Battery level low; `1' Battery level high LVDE: `0' Disable voltage Detection; `1' Enable voltage Detection
Low voltage reset circuit prevents the CPU from operating below its physical limit. When the supply voltage drops below VDET (2.2Volt), the CPU will be held in reset state until the supply voltage rises to VRLS. Then CPU will be released from reset state. VRLS will be higher than VDET by 5% to provide hysteresis and prevent CPU from bouncing back and forth between reset and operating state. The low voltage reset function can be enabled or disabled by mask option MO_LVRE. MO_LVRE Function 0 Disable LVR 1 Enable LVR The voltage detection circuit is temperature compensated to prevent the detection voltage from drifting with temperature variation.
Vrst
VDD
Vdet Vrls
June 29, 2005
35
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
20. Infrared output
To achieve an IR output with programmable frequency and duty cycle, two 7-bit registers are employed here. The IRH register represents the period (on FCK clock number) of output high, while IRL register represents the period of output low. With this mechanism, the output IR frequency is equal to FCK/(IRH+IRL), and the high duty cycle ratio is equal to IRH/(IRH+IRL). To make the IRO as output pin alone, either IRH or IRL can be set as 0. When IRH is 0, the IRO output is a DC low. On the contrary, if IRL is 0, the output is a DC high. Special care in hardware implementation is also taken according to the MO_IRO (mask option to determine the default state of the IRO) to avoid glitch when PWM output is disabled.
IRO
IRO IRH IRL
1 0
Toggle signal
MUX
Compare
IR generator
IRO
IRH=0?
7-bit Fck
CK R reset
To avoid unexpected IR output, users should firstly load the content of IRH and IRL before turn on IR by set IROE bits to `1'. The access of all the registers of IR is through the extension register. They are list as below: Extension register Address Name Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 0x15h IRL* IROE IR PWM LOW DURATION 0x16h IRH IR PWM HIGH DURATION * IRL[7] is read/write, and IRL[6..0] is write only. IROE: `0' IR is disabled (default); `1' IR is enabled. Bit0 Mode R/W W Reset value 0xxx xxxx -xxx xxxx
June 29, 2005
36
MO_IRO
IRL=0?
Counter+1
D Counter Q
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
21.
Universal Asynchronous Receiver/Transmitter
Full duplex Asynchronous communication Programmable transmission rate with internal baud rate generator with selectable bit rates Double buffered Transmitter and Receiver. Programmable Data length (from 5 to 8 bits) Programmable stop bits (1, 1.5 or 2-stop bit) generation and detection Programmable parity type (odd, even or no parity) Error (parity, overrun and framing errors) detection Fully prioritized interrupt system control Line break generation and detection.
The UART (Universal Asynchronous Receiver/Transmitter) interface provides serial communication capabilities with other devices such as PC. Features include:
Example - 8-bit UART Frame Format: (1 Start Bit, 8 Data Bits, 1 Parity Bit, 1 Stop Bit)
June 29, 2005
37
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
21.1. Interface Registers
Addressable extension register used to interface with MCU
Address 00H 01H 02H 03H 04H 05H 06H Name RBR THR IEIR LCR BRL BRH LSR Function UART RECEIVER BUFFER UART TRANSMITTER HOLDING REGISTER RLSI THRI RBRI 0 ID2 ID1 SB SP EPS PEN STB WLS1 UART LSB of Baud Rate Register UART MSB of Baud Rate Register TEMT THRE BI FE PE OE Mode R R/W R/W R/W R/W R/W R RESET 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0110 0000
0 BRGE
ID0 WLS0
0
DR
IEIR: Interrupt enable/disable identification register. LCR: Line control register. LSR: Line status register. June 29, 2005 38 V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
21.2.Baud Rate Configuration Register
The BRH and BRL registers hold the upper and lower bytes of 16 bit baud rate divisor and which are readable/writable. The baud rate of UART is calculated as following: BAUD _ RATE _ DIVISOR = FCK , (FCK: fast clock of system) 16 * BAUD _ RATE
The contents of BRH and BRL are calculated by the following two formulas: BRL = BAUD _ RATE _ DIVISOR % 256
BRH = ( BAUD _ RATE _ DIVISOR - BRL) / 256 The "%" symbol is the modulus operation (reminder of division). For example, if the FCK is 1.8432M Hz and the desired baud rate is 2400 baud, then
BAUD _ RATE _ DIVISOR =
1843200 = 48 16 * 2400
The BRL register shall be set to 0x30 and BRH set to 0x00. The setting of baud_rate_divisor is not updated until the BRH register is written. Thus user is strongly recommended to write BRL first, then BRH. In order to obtain good communication quality, the same time base shall be used in the both sides of transmitting and receiving. The following table shows the most common baud rate setting used in the PC UART communication.
BRL and BRH: Baud Rate Control Registers FCK(Hz) Baud Rate (bps) Divisor BRL 1.8432M 50 2304 0x00 1.8432M 300 384 0x80 1.8432M 1200 96 0x60 1.8432M 2400 48 0x30 1.8432M 4800 24 0x18 1.8432M 9600 12 0x0C 1.8432M 19200 6 0x06 1.8432M 38400 3 0x03 1.8432M 57600 2 0x02 1.8432M 115200 1 0x01 BRH 0x09 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
June 29, 2005
39
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
21.3.Interrupt & Identification Register
This high nibble of IEIR register allows to enable/disable interrupt generation by the UART, the low nibble ID[2..0] of IEIR register is used to identify the source of interrupts.
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reset Value 0 RLSI THRI RBRI 0 ID2 ID1 ID0 "0000_0000" R/W R/W R/W R R R RBRI: Receiver Buffer Register Interrupt (1 = Enable, 0 = Disable), related to ID[1] bit. THRI: Transmitter Hold Register Interrupt (1 = Enable, 0 = Disable), related to ID[0] bit. RLSI: Receiver Line Status Interrupt (1 = Enable, 0 = Disable), related to ID[2] bit. Address 0x02h Name IEIR
The following table shows the related interrupt sources, user can read the ID[2:0] to retrieve what is the current highest priority of pending interrupts. The ID[2:0] bits will be cleared when user read the related registers. For example, when an interrupt happened and the content of ID[2:0] is "101", this means that LRS error and THR empty happen; user can read the LSR register to clear the ID[2] bit and ID[0] bit can also be cleared by reading the IEIR or writing data into THR register.
Level None Highest Second IEIR Bit [2:0] Source of Interrupt 000 None 100 LSR error flags (OE/PE/FE/BI) 010 LSR receiver data ready flag (DR) Interrupt Reset Control
Third
001
LSR flag THR Empty (THRE)
None Reading LSR register to clear ID[2] Reading RBR register to clear ID[1] Reading IEIR register or Writing THR register to clear ID[0]
June 29, 2005
40
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
21.4.Line Control Register
The line control register allows user to configure the asynchronous data transfer format and set the UART function. Reading from the register is allowed to check the current settings of the communication.
Bit 7 BRGE Name Bit 6 SB Bit 5 SP Bit 4 EPS Bit 3 PEN Description Bit 2 STB Bit 1 WLS1 Bit 0 WLS0
Word Length Select "00": word length = 5 "01": word length = 6 WLS[1..0] "10": word length = 7 "11": word length = 8 Stop Bit Length `0': Stop bit length = 1 STB `1': Stop bit length = 1.5 when WLS[1..0]="00", else Stop bit length = 2 Parity Selection "xx0": No Parity "001": odd Parity [SP, EPS, PEN] "011": even Parity "101": Stick Parity 1 "111": Stick parity 0 Set Break When enable the break control bit causes a break condition to be transmitted (SOUT is forced to a logic 0 state). This condition exists until disabled by resetting this bit to SB logic 0. `0': disable break; `1': enable break Baud Rate Generator `0': disable baud rate clock generator BRGE `1': enable baud rate clock generator
June 29, 2005
41
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
21.5.Line Status Register
Bit 7 0 Name Bit 6 TEMT Bit 5 THRE Bit 4 BI Bit 3 FE Bit 2 PE Bit 1 OE Bit 0 DR
DR
OE
PE
Description Receiver Data Ready DR indicates status of RBR. It will be set to logic 1 when RBR data is valid and will be reset to logic 0 when RBR is empty. When line errors (OE/PE/FE/BI) happen, DR will also be set to logic 1 and RBR will be updated to reflect the Data bits portion of the frame. Overrun Error This bit will be set when the next character is transferred into RBR before the previous RBR data is read by the CPU. Even though DR will still be 1 when OE is set to logic 1, the previous frame data stored in RBR which is not read by the CPU is trashed and can`t be recovered. Parity Error This bit will be set to logic 1 only when the Parity is enabled and the Parity bit is not at the logic state it should be. For Even Parity, the Parity bit should be 1 if an odd number of 1s in the Data bits is received; otherwise, the Parity bit should be 0. For Odd Parity, the Parity bit should be 1 if an even number of 1s in the Data bits is received; otherwise, the Parity bit should be 0. For Stick Parity '1', the Parity bit should be 1. For Stick Parity '0', the Parity bit should be 0. Framing Error FE will be reset to logic 0 whenever SIN is sampled high at the center of the first Stop bit, regardless of how many Stop bits the UART is configured to.
FE
Break Interrupt BI will be set to logic 1 whenever SIN is low for longer than the whole frame (the time of Start bit + Data bits + Parity bit + Stop bits), not at the SIN rising edge where BI Break is negated. If SIN is still low after BI is reset to logic 0 by reading LSR, BI will not be set to logic 1 again. Since Break is also a Framing error, FE will also be set to 1 when BI is set. THR Empty THRE will be set to logic 1 whenever THR is empty which indicates that the THRE transmitter is ready to accept new data to transmit. Both THR and TSR are Empty This bit will be set to logic 1 when THRE is set to 1 and the last Data bit in the TSR TEMT is shifted out through SOUT. * The four error flags (OE, PE, FE and BI) of LSR will be reset to logic 0 after a LSR read. Since the SIN and SOUT of UART pins are shared with PRTD[1..0], users can use the mask option to enable the UART function and select PRTD[1..0] function.
MO_UART
0 1
PRTD[1:0] = I/O Pin PRTD[1:0] = UART Pin
June 29, 2005
42
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
22. Extension Register Access
The extension registers can be accessed through the extension port control registers EXTAS and EXTDA. User can read/write the extension register easily and the control timing is generated by hardware automatically. The following code shows how to access the extension registers.
Read Extension Register: LDA #0x00h ; load #0x00h data to A Register STA EXTAS ; store A register data to the extension port address register. LDA EXTDA ; store the extension register (0x00h) data to A Register. Write Extension Register: LDA #0x03h ; load #0x03h data to A Register STA EXTAS ; store A register data to the extension port address register.
LDA STA
#0x18h
EXTDA
; load #0x18h data to A Register ; store A register data to the extension port data register.
June 29, 2005
43
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
23. Summary of Registers and Mask Options
All the registers and mask options used in this chip are listed in the following tables.
Address 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18~1FH 20H 21H 22~2AH 2BH NAME TPL TPH IER T1L T1H T2L T2H SP DP DRDY OP1 IDLE OP2 PP PRTC PRTD PWMC* LCDC PRT10 PRT11 DTMF VOC* PRT14 PRT15 TPP PRT17 EXTAS EXTDA GRAY16 GRAY0 GRAY1 GRAY2 GRAY3 PSA1 PSA2 PSA3 AC ACL ACH ACP EXMD EXMC Field Table pointer low byte Table pointer high byte INT_EX TB INT1 T1 T2 Timer 1 low byte Timer 1 high byte Timer 2 low byte Timer 2 high byte stack pointer data RAM pointer STOP SLOW INTE T2E T1E Z PNWK TCWK TBE TBS[3..0] RAM page pointer I/O port C I/O port D PWM data CLR_GP GRAY BLANK I/O port 10 Reserved Reserved PWM O/P driver PWME PWM DAC Reserved I/O port 15 ROM table page pointer I/O port 17 Reserved Extension port address register Extension port data register Reserved 32 to 4 Gray Level Palette Register Gray level 0 mapping register Gray level 1 mapping register Gray level 2 mapping register Gray level 3 mapping register Physical page address mapping register for logical page 1 Physical page address mapping register for logical page 2 Physical page address mapping register for logical page 3 Reserved Download bus address counter AC6 AC5 AC4 AC3 AC2 AC1 AC14 AC13 AC12 AC11 AC10 AC9 AC22 AC21 AC20 AC19 AC18 AC17 Download bus data port WR RD Mode R/W R/W INT2 R/W W W W W R/W R/W C R/W R/W R/W R/W R/W W LCDE W R/W R/W R/W OP W R/W R/W R/W R/W R/W R/W R/W R/W w W W W W R/W R/W R/W R/W R/W AC0 R/W AC8 R/W AC16 R/W R/W DNLD R/W RESET xxxx xxxx xxxx xxxx --00 0000 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx 1111 1111 xxxx xxxx 1000 00xx 0xx- ---0000 0000 1111 1111 1111 1111 0000 0000 xx1x xx10 1111 1111 xxxx xxxx xxxx xxxx x000 0000 xxxx xxxx ---- --11 0000 0000 1111 1111 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
2CH 2DH 2EH 2FH 30H
xxx0 0000 xxx0 0010 xxx0 0100 xxx0 0110 0000 0001 0000 0010 0000 0011 xxxx xxxx 0000 0000 0000 0000 0000 0000 xxxx xxxx xxxx x011
AC7 AC15 AC23 -
31H 32H
* The definitions of PWMC and VOC are different for 7-bit and 8-bit voice output. Please refer to voice output section for the detailed description.
June 29, 2005
44
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD Extension registers:
Address 00H 01H 02H 03H 04H 05H 06H 15H 16H 17H Name RBR THR IEIR LCR BRL BRH LSR IRL IRH LVDC Function UART RECEIVER BUFFER UART TRANSMITTER HOLDING REGISTER RLSI THRI RBRI 0 ID2 ID1 SB SP EPS PEN STB WLS1 UART LSB of Baud Rate Register UART MSB of Baud Rate Register TEMT THRE BI FE PE OE IR PWM LOW DURATION IR PWM HIGH DURATION -
HE84760B
HE80004 Series
0 BRGE
0 IROE LVDO
Mode R R/W ID0 R/W WLS0 R/W R/W R/W DR R R/W W LVDE R/W
RESET 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0110 0000 0xxx xxxx -xxx xxxx x--- ---0
Mask Options:
NAME MO_LVRE MO_FXTAL MO_SXTAL VALUE 0 1 0 1 0 1 00 01 10 11 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 00 01 10 11 000 001 010 011 100 101 110 111 000 001 NOTE Low voltage reset disable Low voltage reset enable R/C oscillator For fast clock Crystal oscillator For fast clock R/C oscillator For 32k clock Crystal oscillator For 32k clock slow clock only illegal dual clock fast clock only WDT disable WDT enable open-drain output push-pull output open-drain output push-pull output open-drain output push-pull output open-drain output push-pull output open-drain output push-pull output IO pin LCD pin IO pin LCD pin 32x96 48x80 64x64 80x48 1/7 bias 1/7.5 bias 1/8 bias 1/8.5 bias 1/9 bias 1/9.5 bias 1/10 bias 1/5 bias Ring-osc internal cap. Select C=2P Ring-osc internal cap. Select C=4P
MO_FCK/SCKN
MO_WDTE MO_CPP[7:0] MO_DPP[7:0] MO_10PP[7:0] MO_15PP[1:0] MO_17PP[7:0] MO_LIO15[1:0] MO_LIO17[7:0]
MO_COM[1:0]
MO_LBSR[2:0]
MO_RCAP[2:0]
June 29, 2005
45
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
NAME VALUE 010 011 100 101 110 111 0 1 00 01 10 11 0 1 00 01 10 11 0 1 00 01 10 11 0 1 00 01 10 11 NOTE Ring-osc internal cap. Select C=7P Ring-osc internal cap. Select C=14P Ring-osc internal cap. Select C=20P Ring-osc internal cap. Select C=40P Ring-osc internal cap. Select C=50P Ring-osc internal cap. Select C=60P 7-bit DAC/PWM output 8-bit DAC/PWM output Not allowed 4 Gray Level 2 Level(B/W) 2 Level(B/W) internal MEMORY external MEMORY LVD level voltage detect is 2.4V LVD level voltage detect is 2.6V LVD level voltage detect is 2.8V LVD level voltage detect is 3.0V Default State of the IRO is `0' Default State of the IRO is `1' ROM map option 0 ROM map option 1 ROM map option 2 ROM map option 3 PRTD[1:0] = I/O Pin PRTD[1:0] = UART Pin Internal Mode Internal CP+External R String and Opamps External CP+Internal R String and Opamps External CP+External R String and Opamps
HE84760B
HE80004 Series
MO_8BVOC
MO_GRAY_MODE[1:0]
MO_EXMEM
MO_DLVL[1:0]
MO_IRO
MO_PMODE[1:0]
MO_UART
MO_PSMODE[1:0]
June 29, 2005
46
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
24. Absolute Maximum Rating
Item Symbol Rating Condition Supply Voltage VDD -0.5V ~ 4.0V Input Voltage VIN -0.5V ~ VDD+0.5V Output Voltage VO -0.5V ~ VDD+0.5V Operating Temperature TOP 0C ~ 70C Storage Temperature TST -50C ~ 100C
25. Recommended Operating Conditions
Item Supply Voltage Symbol Rating Condition VDD 2.4V ~ 3.6V VIH 0.9 VDD ~ VDD Input Voltage 0.0V ~ 0.1VDD VIL 8M Hz VDD =3.0V Operating Frequency FMAX. 6M Hz VDD =2.4V Operating Temperature TOP 0 C ~ 70 C Storage Temperature TST -50C ~ 100C
June 29, 2005
47
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
26. AC/DC Characteristics
Testing Condition : TEMP=25, VDD=3V10%
Parameters Symbol Min. Typ. Max. Unit Condition
Power consumption NORMAL Mode Current SLOW Mode Current IDLE Mode Current Sleep Mode Current Additional Current if LCD ON I/O specification Input High Voltage Input Low Voltage Input Hysteresis Width Output Source Current Output Sink Current Input Low Current Input Low Current PWM and DAC PWM Output Current DAC Output Current Low voltage Reset LVR detection voltage LVR release voltage
IFAST ISLOW IIDLE ISLEEP ILCD
1 15 10 200 250 300 0.8
1.5 25 20 1 220 275 330
mA A A A A VDD VDD VDD A mA
2M external R/C fast clock 32768 Hz slow clock with LCD disabled 32768 Hz slow clock with LCD disabled LVP=3xLVREG LVP=4xLVREG LVP=5xLVREG Input Pins Input Pins I/O, RSTP_N Threshold = 2/3 VDD (Input from low to high), Threshold = 1/3 VDD (Input from high to low) Output drive high*1, VOH =2.0V Output drive low, VOL=0.4V RSTP_N, VIL = GND, Pull high Internally I/O, VIL=GND, if pull high Internally by user PWM *2 With 32 Loading With 64 Loading With 100 Loading VO, DAO@ VDD=3V,VO=0~2V, Data =FF
VIH VIL VHYS IOH IOL1 IIL1 IIL2
0.2 1/3 50 1.0 20 100 10 6 4 2.5 14 8 5 3 2.2 2.31
A A mA mA mA mA Volts Volts
IPWM IoVO VDET VRLS
Notes: 1. The "Output Source Current" specification is applicable only to the Push-Pull I/O type. 2. This Specification indicates only one PWM driving capability, and there are totally five built-in drivers, user can multiply the actual number of driver to get the total amount of current. (IPWM x N; N=0, 1, 2, 3, 4, 5)
June 29, 2005
48
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM31 COM30 COM29 COM28 COM27 COM26
X4 MULTIPLIER
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
HE84G763B+KD83
27. Application Circuit
June 29, 2005
U7 SP select PWM VO
80 COM X 128 SEGMENT
SEG13/CS0 SEG12/CS1 SEG11/CS2 SEG10/CS3 PRT15[1] PRT15[0] PRT17[7] PRT17[6] PRT17[5] PRT17[4] PRT17[3] PRT17[2] PRT17[1] PRT17[0] COM31 COM30 COM29 COM28 COM27 COM25 COM26 JP3 2 1 VO VDD DAO VDD PWM 3 2 1 2 1 JP2 JP1
SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 1K R1 C8 224 U2 Q1 8050 4.7u LVL1 LVL2 LVL3 LVL4 LVL5 0.1u SEG32/A16 SEG33/A17 SEG34/A18 SEG35/A19 SEG36/A20 SEG37/A21 SEG38/A22 SEG39/A23 SEG40/D0 SEG41/D1 SEG42/D2 SEG43/D3 SEG44/D4 SEG45/D5 SEG46/D6 SEG47/D7 0.1u 0.1u
1 2 3 4 5 6 7 8
COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COM0 COM25 COM24 COM23 COM22 COM21 COM20 COM19 COM18 COM17 COM16 COM15 COM14 COM13 COM12 COM11 COM10 COM9 COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1 COM0 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40 SEG41 SEG42 SEG43 SEG44 SEG45 SEG46 SEG47 SEG14/WE SEG15/OE SEG16/A0 SEG17/A1 SEG18/A2 SEG19/A3 SEG20/A4 SEG21/A5 SEG22/A6 SEG23/A7 SEG24/A8 SEG25/A9 SEG26/A10 SEG27/A11 SEG28/A12 SEG29/A13 SEG30/A14 SEG31/A15 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171
SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11
HE84G763B
KING BILLION ELECTRONICS CO., LTD
49
0.1u 4.7u 0.1u 4.7u R10 0.1u R1 R2 R5 0.1u SEG41 SEG42 SEG43 SEG44 SEG45 SEG46 SEG47 SEG48 SEG49 SEG50 SEG51 SEG52 SEG53 SEG54 SEG55 SEG56 SEG57 SEG58 SEG59 SEG60 SEG61 GND OAC OCCK GND OPO OPIP OPIN DAO VO RSTP_N FXO FXI TSTP_P SXO SXI VX VDD FXI FXO 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 VX SXI SXO TSTP_P RSTP_N 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 SEG89 SEG90 SEG91 SEG92 SEG93 SEG94 SEG95 SEG96 SEG97 SEG98 SEG99 SEG100 SEG101 SEG102 SEG103 SEG104 SEG105 SEG106 SEG107 SEG108 SEG109 VSSA:G OAC OCCK GND:G OPO OPIP OPIN DAO VO RSTP_N FXO FXI TSTP_P SXO SXI VX VDD:P R3 R2 100k 0 R4 12K Y1 6M Y2 32768 STBN D_CN R_WN REN RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD0 C6 10p C5 10p C4 10p C10 10p C11 105 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 SW1 reset PRT10[7] PRT10[6] PRT10[5] PRT10[4] PRT10[3] PRT10[2] PRT10[1] PRT10[0] PRTD[7] PRTD[6] PRTD[5] PRTD[4] PRTD[3] PRTD[2] PRTD[1] PRTD[0] PRTC[7] C13 103 C12 104
SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 LVL5 LVL5 LVL3 LVL2 OAC OCCK REN R_WN D_CN STBN 101 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 LCAP2B LCAP2A LCAP1A LCAP1B LCAP3A LVREG LGS1 LVAG VDD 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 LVL1 LVL2 LVL3 LVL4 LVL5 LCAP4A LCAP2B LCAP2A LCAP1A LCAP1B LCAP3A LVREG LGS1 LVAG VDDA:P
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 LVP LVL5 LVL3 LVL2 OAC OCCK REN R_WN D_CN STBN
SEG67 SEG68 SEG69 SEG70 SEG71 SEG72 SEG73 SEG74 SEG75 SEG76 SEG77 SEG78 SEG79 SEG80 SEG81 SEG82 SEG83 SEG84 SEG85 SEG86 SEG87 SEG88
KD83
GND RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD0 RES_N VDD
30 31 32 33 34 35 36 37 38 39 40
GND RD[7] RD[6] RD[5] RD[4] RD[3] RD[2] RD[1] RD[0] RES_N VDD
SEG127 SEG126 SEG125 SEG124 SEG123 SEG122 SEG121 SEG120 SEG119 SEG118
41 42 43 44 45 46 47 48 49 50
SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70
CMSG79 CMSG78 CMSG77 CMSG76 CMSG75 CMSG74 CMSG73 CMSG72 CMSG71 CMSG70 CMSG69 CMSG68 CMSG67 CMSG66 CMSG65 CMSG64 CMSG63 CMSG62 CMSG61 CMSG60
154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135
COM79 COM78 COM77 COM76 COM75 COM74 COM73 COM72 COM71 COM70 COM69 COM68 COM67 COM66 COM65 COM64 COM63 COM62 COM61 COM60
SEG62 SEG63 SEG64 SEG65 SEG66 SEG67 SEG68 SEG69
58 57 56 55 54 53 52 51
SEG110 SEG111 SEG112 SEG113 SEG114 SEG115 SEG116 SEG117
CMSG59 CMSG58 CMSG57 CMSG56 CMSG55 CMSG54 CMSG53 CMSG52 CMSG51 CMSG50 CMSG49 CMSG48 CMSG47 CMSG46 CMSG45 CMSG44 CMSG43 CMSG42 CMSG41 CMSG40 GND_PWM PWM IRO VDD_RAM:P PRTC[0] PRTC[1] PRTC[2] PRTC[3] PRTC[4] PRTC[5] PRTC[6] 106 105 104 103 102 101 100 99 98 97 96 GND PWM IRO VDD PRTC0 PRTC1 PRTC2 PRTC3 PRTC4 PRTC5 PRTC6 CMSG39 CMSG38 CMSG37 CMSG36 CMSG35 CMSG34 CMSG33 CMSG32 114 113 112 111 110 109 108 107 COM39 COM38 COM37 COM36 COM35 COM34 COM33 COM32
This specification is subject to change without notice. Please contact sales person for the latest version before use.
134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 COM59 COM58 COM57 COM56 COM55 COM54 COM53 COM52 COM51 COM50 COM49 COM48 COM47 COM46 COM45 COM44 COM43 COM42 COM41 COM40
HE84760B
HE80004 Series
V1.0
KING BILLION ELECTRONICS CO., LTD
Note: Options for LCD, Osc. and external memory
COMXSEG CMSG32 CMSG33 CMSG34 CMSG35 CMSG36 CMSG37 CMSG38 CMSG39 CMSG40 CMSG41 CMSG42 CMSG43 CMSG44 CMSG45 CMSG46 CMSG47 CMSG48 CMSG49 CMSG50 CMSG51 CMSG52 CMSG53 CMSG54 CMSG55 CMSG56 CMSG57 CMSG58 CMSG59 CMSG60 CMSG61 CMSG62 CMSG63 CMSG64 CMSG65 CMSG66 CMSG67 CMSG68 CMSG69 CMSG70 CMSG71 CMSG72 CMSG73 CMSG74 CMSG75 CMSG76 CMSG77 CMSG78 CMSG79 32X96 SEG95 SEG94 SEG93 SEG92 SEG91 SEG90 SEG89 SEG88 SEG87 SEG86 SEG85 SEG84 SEG83 SEG82 SEG81 SEG80 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 48X80 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 SEG79 SEG78 SEG77 SEG76 SEG75 SEG74 SEG73 SEG72 SEG71 SEG70 SEG69 SEG68 SEG67 SEG66 SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 64X64 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM48 COM49 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 80X48 COM32 COM33 COM34 COM35 COM36 COM37 COM38 COM39 COM40 COM41 COM42 COM43 COM44 COM45 COM46 COM47 COM48 COM49 COM50 COM51 COM52 COM53 COM54 COM55 COM56 COM57 COM58 COM59 COM60 COM61 COM62 COM63 COM64 COM65 COM66 COM67 COM68 COM69 COM70 COM71 COM72 COM73 COM74 COM75 COM76 COM77 COM78 COM79 A16 A15 A14 A13 A12 A11 A9 A8 WE
HE84760B
HE80004 Series
Ext. Bus Interface 8 MB EPROM SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40 SEG41 SEG42 SEG43 SEG44 SEG45 SEG46 SEG47 CS3 CS2 CS1 CS0 WE OE A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 A19 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 Q0 Q1 Q2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 A19 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 Q0 Q1 Q2 VSS VCC A18 A17 A14 A13 A8 A9 A11 OE/VPP A10 CE Q7 Q6 Q5 Q4 Q3 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 A18 A17 A14 A13 A8 A9 A11 A10 CS0 Q7 Q6 Q5 Q4 Q3
VDD
C89 0.1uF
A18 A7 A6 A5 A4 A3 A2 A1
M27C801 16 MB EPROM A19 A18 A8 A7 A6 A5 A4 A3 A2 A1 CS1 DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 D0 Q1 Q2 Q3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 A18 A17 A7 A6 A5 A4 A3 A2 A1 A0 CE VSS OE Q0 Q8 Q1 Q9 Q2 Q10 Q3 Q11 M27C160 x4 multiplier LVL1 LVL2 LVL3 LVL4 LV5 LCAP4A LCAP2B 0.1uF 0.1uF LCAP2A LCAP1A LCAP1B 0.1uF 0.1uF 4.7uF 0.1uF 0.1uF 4.7uF 4.7uF LVL1 LVL2 LVL3 LVL4 LVL5 LCAP4A LCAP2B LCAP2A LCAP1A LCAP1B 0.1uF 0.1uF R1 LGS1 LVAG R2 LGS1 LVAG LCAP3A LVREG A19 A8 A9 A10 A11 A12 A13 A14 A15 A16 BY TE VSS Q15A-1 Q7 Q14 Q6 Q13 Q5 Q12 Q4 VCC 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 A20 A9 A10 A11 A12 A13 A14 A15 A16 A17 A0 Q7 Q6 Q5 Q4 VDD
Intel NOR FLASH 1 2 A16 3 A15 4 A14 5 A13 6 A12 7 A11 8 A9 9 A8 10 WE 11 RP 12 VPP 13 WP 14 A18 15 A7 16 A6 17 A5 18 A4 19 A3 20 A2 A1 28F320-TSOP
A17 GND A20 A19 A10 DQ7 DQ6 DQ5 DQ4 VCCQ VCC NC DQ3 DQ2 DQ1 DQ0 OE GND CE A0
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
A17 A20 A19 A10 DQ7 DQ6 DQ5 DQ4
DQ3 DQ2 DQ1 DQ0 OE CE A0
512KB x 8 SRAM A11 A9 A8 A13 WE A17 A15 VDD A18 A16 A14 A12 A7 A6 A5 A4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 A11 A9 A8 A13 WE A17 A15 VCC A18 A16 A14 A12 A7 A6 A5 A4 LP62S4096-TSOP OE A10 CS1 IO7 IO6 IO5 IO4 IO3 GND IO2 IO1 IO0 A0 A1 A2 A3 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 OE A10 CS3 DQ7 DQ6 DQ5 DQ4 DQ3 DQ2 DQ1 DQ0 A0 A1 A2 A3
x3 multiplier 4.7uF OE WE CS0 CS1 CS2 CS3 PRT151 PRT150 PRT177 PRT176 PRT175 PRT174 PRT173 PRT172 PRT171 PRT170 SXI SXI 0.1uF R1 R2 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 OE WE CS0 CS1 CS2 CS3 PRT151 PRT150 PRT177 PRT176 PRT175 PRT174 PRT173 PRT172 PRT171 PRT170 0.1uF 0.1uF 4.7uF 4.7uF
x5 multiplier 4.7uF 0.1uF 0.1uF 4.7uF 4.7uF 0.1uF LVL1 LVL2 LVL3 LVL4 LVL5 LCAP4A LCAP2B 0.1uF 0.1uF LCAP2A LCAP1A LCAP1B 0.1uF 0.1uF R1 R2 LGS1 LVAG LCAP3A LVREG
LCAP3A LVREG
SXO SXO Crystal Osc. RC Osc. GND_LCD
0.1uF
0.1uF
0.1uF
GND_LCD
GND_LCD
FXI
FXI
FXO Crystal Osc.
FXO
RC Osc.
June 29, 2005
50
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
HE84760B
HE80004 Series
28. Important Note
1. Please note the ICE is a superset of HE80000 series IC. Each member of the family only has parts of all resources. Do not use any hardware resource that your target chip doesn't have, for example, RAM and register. KBIDS and compiler can't prevent user from using some hardware resources that don't exist in your target chip. To access "Data ROM", users must update TPP first, TPH, and then TPL. Only follow this order, the pre-charge circuit of ROM will work correctly. The 5s waiting is also necessary before LDV instruction is executed since Data ROM is a low speed ROM. User can't emulate this accessing process in ICE, so 5s delay should be added by firmware. LCD driving circuit must be turned off before the system goes into sleep mode. Please bond the TSTP_P, RSTP_N and PRTD [7:0] with test points on PCB (can be soldered and probed) as you can, then some testing can be performed on PCB when it's necessary. The TSTP_P is suggested to connect to ground by a 0 ohm resistor. The LVP must be lower than 8.5 volts; otherwise permanent damages to the IC might be incurred.
The LCD voltage adjustment mechanism shall be reserved for LV5 voltage fine-tunes; since it's possible there is some variation in LV5 voltage due to IC manufacture process variation. User can use variable-resistor to adjust the LV5 voltage or use some tools to detect the LV5 and then select a proper resistor. Please refer to application note AN025 for the detailed description.
2.
3. 4.
5. 6.
29. Updated History
Version Date V1.0 2005/6/29 New Create. Update History
June 29, 2005
51
V1.0
This specification is subject to change without notice. Please contact sales person for the latest version before use.


▲Up To Search▲   

 
Price & Availability of HE84760B

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X